package com.situ.stl.service;

import com.github.pagehelper.PageInfo;
import com.situ.stl.entity.Member;
import com.situ.stl.vo.MemberVo;

import java.util.List;

public interface MemberService {
    List<Member> select(Member member);

    PageInfo searchByPage(Integer page, Integer limit, Member member);

    int modifyMember(Member member) throws Exception;

    int addMember(Member member) throws Exception;

    int deleteMember(Integer id) throws Exception;

    Member getByPhone(String phone);

    int resetPwd(MemberVo member)throws Exception;

    Member login(MemberVo member)throws Exception;
}
